package vip.xiaozhao.paotui.intf.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ToString
public class PaotuiDetail {

	private int id;
	private int userId;
	private int bringAddressId;
	private int takeAddressId;
	private String bringLocation;
	private String takeLocation;
	private int collegeId;
	private int status;
	private int verifyStatus;
	private int payStatus;
	private String quHuoCode;
	private int goodsType;
	private int goodsWeight;
	private int goodsNum;
	private String goodsInfo;
	private int version; //用于抢单时的乐观锁
	private Date expectTime;
	private BigDecimal amount;
	private BigDecimal fee;
	private String remark;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date addTime;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	private String userIp;


}
